﻿#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <string.h>
#include <math.h>
#include <unordered_map>
using namespace std;

class Solution {
public:
    int numJewelsInStones(string jewels, string stones) {
        int arr[128] = { 0 };
        for (auto& e : stones) arr[e] += 1;
        int ret = 0;
        for (auto& e : jewels) ret += arr[e];
        return ret;
    }
};

int main()
{
    vector<int> arr(10, 0);
    return 0;
}
